package com.wuliang.blog.core.jpa.enums;

import com.wuliang.blog.core.jpa.EntityFieldTypeAdapter;
import com.wuliang.blog.core.jpa.adapter.CollectionFieldTypeAdapter;
import com.wuliang.blog.core.jpa.adapter.MapFieldTypeAdapter;
import com.wuliang.blog.core.jpa.adapter.NumberFieldTypeAdapter;
import com.wuliang.blog.core.jpa.adapter.StringFieldTypeAdapter;

import java.util.List;
import java.util.Map;

public class FieldTypeAdapterList {

    public static final EntityFieldTypeAdapter<Number> NUMBER_FIELD_TYPE_ADAPTER = new NumberFieldTypeAdapter();

    public static final EntityFieldTypeAdapter<String> STRING_FIELD_TYPE_ADAPTER = new StringFieldTypeAdapter();

    public static final EntityFieldTypeAdapter<List<Object>> LIST_FIELD_TYPE_ADAPTER = new CollectionFieldTypeAdapter();

    public static final EntityFieldTypeAdapter<Map<String, Object>> OTHER_ENTITY_FIELD_TYPE_ADAPTER = new MapFieldTypeAdapter();


}
